package com.wande.dataplatform.filecollection.common.exception;

import com.wande.dataplatform.filecollection.common.enums.FileCollectionErrorCode;

/**
 * 文件解析异常
 *
 * @author wande
 */
public class FileParseException extends FileCollectionException {

    private static final long serialVersionUID = 1L;

    public FileParseException(String message) {
        super(FileCollectionErrorCode.PARSE_ERROR, message);
    }

    public FileParseException(String message, Throwable cause) {
        super(FileCollectionErrorCode.PARSE_ERROR, message, cause);
    }

    public FileParseException(FileCollectionErrorCode errorCode) {
        super(errorCode);
    }

    public FileParseException(FileCollectionErrorCode errorCode, String message) {
        super(errorCode, message);
    }

    public FileParseException(FileCollectionErrorCode errorCode, Throwable cause) {
        super(errorCode, cause);
    }
}
